package com.jjc.android.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.jjc.android.R
import com.jjc.android.entity.TestedPersonDto

class TestedPersonAdapter : BaseQuickAdapter<TestedPersonDto,BaseViewHolder>(R.layout.item_tested_person) {

    override fun convert(helper: BaseViewHolder, item: TestedPersonDto) {
        helper.addOnClickListener(R.id.editBtn,R.id.deleteBtn)
        helper.setText(R.id.userNameTxt,item.provideText())
    }

}